/*
 * Hibiscus is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published
 * by the Free Software Foundation; either version 3 of the License,
 * or (at your option) any later version.
 *
 * Hibiscus is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Hibiscus; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 * USA
 *
 * Copyright (C) 2003 Tetete - http://tetete.hu.
 */
package hu.tetete.hibiscus.propertytree.propertyhandler;

import java.io.Serializable;

import android.view.View;

import hu.tetete.hibiscus.model.PropertyGroup;
import hu.tetete.hibiscus.propertyvalue.PropertyValue;

/**
 * TODO javadoc.
 */
public class PropertyGroupHandler implements PropertyHandler<PropertyGroup, PropertyValue> {

    /** @see Serializable */
    private static final long serialVersionUID = 1L;

    private final PropertyGroup property;

    /**
     * @param property The property
     */
    public PropertyGroupHandler(final PropertyGroup property) {
        super();
        this.property = property;
    }

    /**
     * @see hu.tetete.hibiscus.propertytree.propertyhandler.PropertyHandler#getView()
     */
    @Override
    public View getView() {
        throw new UnsupportedOperationException();
    }

    /**
     * @see hu.tetete.hibiscus.propertytree.propertyhandler.PropertyHandler#getInfoView()
     */
    @Override
    public View getInfoView() {
        return null;
    }

    /**
     * @see hu.tetete.hibiscus.propertytree.propertyhandler.PropertyHandler#getProperty()
     */
    @Override
    public PropertyGroup getProperty() {
        return this.property;
    }

    /**
     * @see hu.tetete.hibiscus.propertytree.propertyhandler.PropertyHandler#setValue(hu.tetete.hibiscus.propertyvalue.PropertyValue)
     */
    @Override
    public void setValue(final PropertyValue value) {
        throw new UnsupportedOperationException();
    }

    /**
     * @see hu.tetete.hibiscus.propertytree.propertyhandler.PropertyHandler#getValue()
     */
    @Override
    public PropertyValue getValue() {
        throw new UnsupportedOperationException();
    }

}
